package cn.tedu.bonfire.front.payment.dao.persist.mapper;

import cn.tedu.bonfire.front.payment.pojo.entity.Order;
import cn.tedu.bonfire.front.payment.pojo.param.OrderParam;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

@Repository
public interface OrderMapper extends BaseMapper<Order> {

    Order getOrderDetailByOrderTradeNo(String outTradeNo);

    void updateOrderStatusById(Order order);

    //void updateHabitatCoin(Long authorId, Double totalPrice);

    //Double getOrderSum(Long userId);
}
